<style>
<!--
#setting-profile textarea {
    height: 200px;
    padding: 5px;
    width: 390px;
}
-->
</style>

<div id='setting-profile' class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'register-form',
	'enableAjaxValidation'=>true,
)); ?>
	<div class="row">
		为了提供更好的服务，烦请您补足如下信息:
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'email'); ?>
		<?php echo $form->textField($model,'email'); ?>
		<?php echo $form->error($model,'email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password1'); ?>
		<?php echo $form->passwordField($model,'password1'); ?>
		<?php echo $form->error($model,'password1'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'domain'); ?>
		<span>http://mr8.me/</span><?php echo $form->textField($model,'domain',array('class'=>'input','onKeyup'=>"value=value.replace(/^[^A-Za-z]+/g,'');value=value.replace(/[^A-Za-z0-9]/g,'')")); ?>
		<?php echo $form->error($model,'domain'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('确定',array('class'=>'button')); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->